home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 45
/
Amiga Format CD45 (1999-09)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-11].iso
/
-serious-
/
sound
/
tracknameswindow
/
copytrack.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-08-16
|
536b
|
42 lines
/*
Copies the current track and trackname.
Link with annomanno.o, /octacontrol.o
and /readstr.o.
Recommended shortcut: Alt+c
Made by Kjetil S. Matheussen 9.1.99.
e-mail: kjetilma@ifi.uio.no
Address:
Kjetil S. Matheussen
5423 Sogn Studentby
0858 Oslo
Norway
*/
#include "tracknameswindow.h"
void main(void){
OCTABASE ob;
UWORD currtrack;
if((ob=getoctabase())==0) goto exit;
currtrack=getcurrtrack(ob);
sendrexx("RN_COPY TRACK");
settracknamedata2(ob,currtrack);
settracknamedata(ob,GETBUF);
exit:
}